<?php
namespace Home\Controller;
use Think\Controller;
// +----------------------------------------------------------------------
// | Date:2016年12月14日
// +----------------------------------------------------------------------
// | Author: EK_熊<1439527494@qq.com>
// +----------------------------------------------------------------------
// | Description: 此文件作用于****
// +----------------------------------------------------------------------
class TestController extends Controller{
    public function index($id){
        $sid = session_id();
        $user = M('Product');
        $a = $user->where(["id=$id"])->select();
        dump($a);
    }
}